package domain.dao.event;

import core.util.MyBatisRepository;
import domain.entity.event.EventOperatorInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by bowen on 2017-08-17.
 */
@MyBatisRepository
public interface OperatorInfoDao {

    public void create(@Param(value = "list")List<EventOperatorInfo> infos)throws Exception;

    public List<Map<String,Object>> getOperatorByEventId(@Param(value = "eventId")long eventId,@Param(value = "revertId")long revertId);

    public Map<String,Object> getEventUserByEventId(@Param(value = "eventId")long eventId);
}
